package com.hsbc.dev.teamo4.sms.sm.po;

import org.hibernate.validator.constraints.NotBlank;

/**
 * @author:Kevin
 * @version:
 * @Project: permission_manage
 * @Package: com.hsbc.dev.teamo4.sms.sm.po
 * @Description:
 * @Date date: 2018/7/27
 */
public class RoleMenuPermission {
    @NotBlank(message = "id  cannot be blank")
    private String id;
    @NotBlank(message = "roleId  cannot be blank")
    private String roleId;
    private String menuId;
    private String permissionId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }

    @Override
    public String toString() {
        return "RoleMenuPermission{" +
                "id='" + id + '\'' +
                ", roleId='" + roleId + '\'' +
                ", menuId='" + menuId + '\'' +
                ", permissionId='" + permissionId + '\'' +
                super.toString()+ '\''+
                '}';
    }
}
